package com.movies.service.mapper;

import com.movies.service.entity.Ticket;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;


public interface TicketMapper extends BaseMapper<Ticket> {

    Ticket selectTicketById(@Param("id") Long id);
    int insertTicket(Ticket ticket);
    int updateTicketById(Ticket ticket);
    int deleteTicketById(@Param("id") Long id);
    int deleteTicketsByIds(@Param("ids") java.util.List<Long> ids);
}




